<style>
    .row{
        margin-left: 0;
        margin-right: 0;
    }

    #ebill{
        height: calc(100vh - 114px)!important;
    }
</style>

<div class="nav-tabs-custom">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#bill" data-toggle="tab" aria-expanded="true">单据管理</a></li>
        <li><a id="ebill-tab" class="{:$auth->check('fastflow/flow/ebill/index')?'':'hide'}" href="#ebill" data-toggle="tab" aria-expanded="true">电子表单管理</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="bill">
            <div class="row">
                <div class="panel panel-default panel-intro">
                    {:build_heading()}
                    <div class="panel-body">
                        <div id="myTabContent" class="tab-content">
                            <div class="tab-pane fade active in" id="one">
                                <div class="widget-body no-padding">
                                    <div id="toolbar" class="toolbar">
                                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                                        <a href="javascript:;" class="btn btn-warning btn-add {:$auth->check('fastflow/flow/bill/add')?'':'hide'}" data-area=["100%","100%"] title="新建" ><i class="fa fa-plus"></i> 新建</a>
                                        <a href="{:url('fromtable')}" class="btn btn-success btn-dialog {:$auth->check('fastflow/flow/bill/fromtable')?'':'hide'}" title="从数据表创建" ><i class="fa fa-database"></i> 从数据表创建</a>
                                    </div>
                                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                                           data-operate-edit=""
                                           data-operate-del=""
                                           width="100%">
                                    </table>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="ebill">
            <iframe id="ebill-list" src="{:url('/fastflow/flow/ebill/index')}" style="width: 100%;height: 100%;border: none;overflow: auto;margin-left: -4px;"></iframe>
        </div>
    </div>
</div>




